<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>堆栈溢出</title>
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
</head>

<body>

    <div id="app">
        <matrioska></matrioska>
    </div>

    <script>
        
        Vue.component('matrioska', {
            template: '<p>Hello<matrioska></matrioska></p>'
        });

        new Vue({
            el: '#app'
        })
        
    </script>

</body>

</html>